package com.skiving.cloud.workflow.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 *  实体类。
 *
 * @author skivingcloud
 * @since 2024-03-25
 */
@ApiModel("流程定义")
@Table(value = "act_re_procdef")
public class ActReProcdef implements Serializable {

    @Id@Column(value = "ID_")
    @ApiModelProperty("主键")
    private String id;

    @Column(value = "REV_")
    @ApiModelProperty("版本")
    private Integer rev;

    @Column(value = "CATEGORY_")
    @ApiModelProperty("CATEGORY_")
    private String category;

    @Column(value = "NAME_")
    @ApiModelProperty("名称")
    private String name;

    @Column(value = "KEY_")
    @ApiModelProperty("编码")
    private String key;

    @Column(value = "VERSION_")
    @ApiModelProperty("版本")
    private Integer version;

    @Column(value = "DEPLOYMENT_ID_")
    @ApiModelProperty("发布ID")
    private String deploymentId;

    @Column(value = "RESOURCE_NAME_")
    @ApiModelProperty("文件名")
    private String resourceName;

    @Column(value = "DGRM_RESOURCE_NAME_")
    @ApiModelProperty("设计文件名")
    private String dgrmResourceName;

    @Column(value = "HAS_START_FORM_KEY_")
    @ApiModelProperty("发起表单")
    private Integer hasStartFormKey;

    @Column(value = "SUSPENSION_STATE_")
    @ApiModelProperty("挂起状态")
    private Integer suspensionState;

    @Column(value = "TENANT_ID_")
    @ApiModelProperty("租户")
    private String tenantId;

    @Column(value = "VERSION_TAG_")
    @ApiModelProperty("版本标识")
    private String versionTag;

    @Column(value = "HISTORY_TTL_")
    @ApiModelProperty("HISTORY_TTL_")
    private Integer historyTtl;

    @Column(value = "STARTABLE_")
    @ApiModelProperty("可发起")
    private Boolean startable;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getRev() {
        return rev;
    }

    public void setRev(Integer rev) {
        this.rev = rev;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getDeploymentId() {
        return deploymentId;
    }

    public void setDeploymentId(String deploymentId) {
        this.deploymentId = deploymentId;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getDgrmResourceName() {
        return dgrmResourceName;
    }

    public void setDgrmResourceName(String dgrmResourceName) {
        this.dgrmResourceName = dgrmResourceName;
    }

    public Integer getHasStartFormKey() {
        return hasStartFormKey;
    }

    public void setHasStartFormKey(Integer hasStartFormKey) {
        this.hasStartFormKey = hasStartFormKey;
    }

    public Integer getSuspensionState() {
        return suspensionState;
    }

    public void setSuspensionState(Integer suspensionState) {
        this.suspensionState = suspensionState;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getVersionTag() {
        return versionTag;
    }

    public void setVersionTag(String versionTag) {
        this.versionTag = versionTag;
    }

    public Integer getHistoryTtl() {
        return historyTtl;
    }

    public void setHistoryTtl(Integer historyTtl) {
        this.historyTtl = historyTtl;
    }

    public Boolean getStartable() {
        return startable;
    }

    public void setStartable(Boolean startable) {
        this.startable = startable;
    }

}
